package com.wj.domain.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @description 篇章内容
 * @author wj
 * @date 2021-11-30
 */
@Entity
@Data
@Table(name="chapter_content")
public class ChapterContentEntity{

    /**
    * id
    */
    @Id
    @Column(name="id")
    private Long id;

    @Column(name = "book_id")
    private Long bookId;

    /**
    * content
    */
    @Column(name="content")
    private String content;

    public ChapterContentEntity() {
    }

}